/*EAn4oNXmBRpWUDv/iyEH8dL4dpsS5Al5iSPXyvewEGpGiyKTItZBqi9Yzt3kiZ/YGV8bIeB/+XeK
Cs1uAkXX2Q==*/
/*
 * @Descripttion:
 * @version:
 * @Author: Chendch
 * @Date: 2020-11-25 09:50:31
 * @LastEditors: Chendch
 * @LastEditTime: 2021-04-13 18:56:50
 */
import {queryMainTableData} from "../dataManage";
import { pageTo } from 'nc-lightapp-front';
export default async function setSublingTableData(code, pageInfo) {
    const {card = {}} = this.state;
    const pk_supplier = this.props.form.getFormItemsValue(card.form.formId, "pk_supplier").value;
    let data = await queryMainTableData({
        areacode: code,
        pageInfo,
        pagecode: this.props.pagecode,
        pk_supplier
    });
    if(data == "error") return ;
    this.props.editTable.setTableData(code, data[code]);
}




/*EAn4oNXmBRpWUDv/iyEH8dL4dpsS5Al5iSPXyvewEGpGiyKTItZBqi9Yzt3kiZ/YGV8bIeB/+XeK
Cs1uAkXX2Q==*/
